<?php
return array(
        //MongoDB conf
        // 'DB_TYPE' => 'mongo', // 数据库类型
        // 'DB_HOST' => 'localhost', // 服务器地址
        // 'DB_NAME' => 'book', // 数据库名
        // 'DB_USER' => '', // 用户名
        // 'DB_PWD' => '', // 密码
        // 'DB_PORT' => '27017', // 端口

        //Mysql conf
        'DB_TYPE' => 'mysql',
        'DB_HOST' => 'localhost',
        'DB_NAME' => 'chunxiaoyuer',
        'DB_USER' => 'root',
        'DB_PWD'  => 'rootroot',
        
        //language
        'DEFAULT_LANG' => 'us-zh',
        //url model
        'URL_MODEL' => 2,

        //相关URl
        'BASE_URL' => 'http://btadmin.com/',
        'ADMIN_URL' => 'http://btadmin.com/admin',

        'SESSION_OPTIONS' => array(
                'use_trans_sid' => 1,
                'use_only_cookies'=>0
        ),
        //日志
        //'LOG_RECORD' => true, // 开启日志记录
        //'LOG_LEVEL'  =>'EMERG,ALERT,CRIT,ERR，', // 只记录EMERG ALERT CRIT ERR 错误

        //NAV
        'SAMPLE_NAV' => array(
            'index' => array(
                'name' => 'Dashboard',
                'link' => '/admin/sample/index',
                'icon' => 'fa-dashboard',
            ),
            'chart' => array(
                'name' => 'Charts',
                'icon' => 'fa-bar-chart-o',
                'next_level' => array(
                    'flot_chart' => array(
                        'name' => 'Flot Chart',
                        'link' => '/admin/sample/flot_chart',
                    ),
                    'morris_chart' => array(
                        'name' => 'Morris.js Charts',
                        'link' => '/admin/sample/morris_chart',
                    ),
                ),
            ),
            'table' => array(
                'name' => 'Table',
                'link' => '/admin/sample/table',
                'icon' => 'fa-table',
            ),
            'form' => array(
                'name' => 'Forms',
                'link' => '/admin/sample/form',
                'icon' => 'fa-edit',
            ),
            'ui' => array(
                'name' => 'UI Elements',
                'icon' => 'fa-wrench',
                'next_level' => array(
                    'panel_wells' => array(
                        'name' => 'Panel And Wells',
                        'link' => '/admin/sample/panel_well',
                    ),
                    'buttons' => array(
                        'name' => 'Buttons',
                        'link' => '/admin/sample/buttons',
                    ),
                    'notifications' => array(
                        'name' => 'Notifications',
                        'link' => '/admin/sample/notifications',
                    ),
                    'typography' => array(
                        'name' => 'Typography',
                        'link' => '/admin/sample/typography',
                    ),
                    'icons' => array(
                        'name' => 'Icons',
                        'link' => '/admin/sample/icons',
                    ),
                    'grid' => array(
                        'name' => 'Grid',
                        'link' => '/admin/sample/grid',
                    ),
                ),
            ),
            'multi_level' => array(
                'name' => 'Multi-Level Sample',
                'icon' => 'fa-sitemap',
                'next_level' => array(
                    'second_level_1' => array(
                        'name' => 'Second Level Item',
                        'link' => '#',
                    ),
                    'second_level_2' => array(
                        'name' => 'Second Level Item',
                        'link' => '#',
                    ),
                    'third_level' => array(
                        'name' => 'Third Level',
                        'next_level' => array(
                            'third_level_1' => array(
                                'name' => 'Third Level Item',
                                'link' => '#',
                            ),
                            'third_level_2' => array(
                                'name' => 'Third Level Item',
                                'link' => '#',
                            ),
                        ),
                    ),
                ),
            ),
            'pages' => array(
                'name' => 'Sample Pages',
                'icon' => 'fa-files-o',
                'next_level' => array(
                    'blank' => array(
                        'name' => 'Blank Page',
                        'link' => '/admin/sample/blank_page',
                    ),
                    'login' => array(
                        'name' => 'Login Page',
                        'link' => '/admin/sample/login_page',
                    ),
                ),
            )
        ),
);